const { $fn, $wx, $http } = getApp()
Page({
    data: {
        data:{},
        user: {},
    },
    onLoad(){
       
    },
    onSumit(e){
        const param = e.detail.value
        $http.submit(this,'user.createChilds',{ param }).then(data=>{
            $wx.toastSuccess('添加成功')
            $wx.back({ refresh:true, param:1 })
        })
    }
})